Timm Bäder [Tue, 4 Oct 2016 17:14:38 +0000 (19:14 +0200)]
entry: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 17:09:58 +0000 (19:09 +0200)]
widget: Remove visibility-notify-event
Timm Bäder [Tue, 4 Oct 2016 17:02:53 +0000 (19:02 +0200)]
entry: Remove inner-border (style) property
Timm Bäder [Tue, 4 Oct 2016 16:34:05 +0000 (18:34 +0200)]
widget: Remove deprecated margin-left/right properties
Timm Bäder [Tue, 4 Oct 2016 16:27:31 +0000 (18:27 +0200)]
widget: Remove gtk_widget_{s,g}et_composite_name
Timm Bäder [Tue, 4 Oct 2016 16:27:16 +0000 (18:27 +0200)]
widget: Remove gtk_widget_get_requisition
Timm Bäder [Tue, 4 Oct 2016 16:19:51 +0000 (18:19 +0200)]
widget: Remove gtk_widget_send_expose
Timm Bäder [Tue, 4 Oct 2016 16:18:53 +0000 (18:18 +0200)]
widget: Remove gtk_widget_{s,g}et_state
Timm Bäder [Tue, 4 Oct 2016 16:14:35 +0000 (18:14 +0200)]
widget: Remove gtk_widget_region_intersect
Timm Bäder [Tue, 4 Oct 2016 16:13:35 +0000 (18:13 +0200)]
widget: Remove gtk_widget_get_child_requisition
Timm Bäder [Tue, 4 Oct 2016 16:10:39 +0000 (18:10 +0200)]
widget: Remove gtk_widget_size_request
Timm Bäder [Tue, 4 Oct 2016 16:04:48 +0000 (18:04 +0200)]
widget: Remove state-changed signal
Timm Bäder [Tue, 4 Oct 2016 16:47:05 +0000 (18:47 +0200)]
widget: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 16:46:39 +0000 (18:46 +0200)]
testsensitive: Use state-flags-changed instead of state-changed
Timm Bäder [Tue, 4 Oct 2016 15:56:06 +0000 (17:56 +0200)]
Remove some deprecated GdkColor style properties
Timm Bäder [Tue, 4 Oct 2016 15:05:47 +0000 (17:05 +0200)]
image: Remove GtkIconSet API
Timm Bäder [Tue, 4 Oct 2016 14:50:28 +0000 (16:50 +0200)]
range: Remove min slider size setter/getter
Timm Bäder [Tue, 4 Oct 2016 14:40:20 +0000 (16:40 +0200)]
scrollbar: Remove min-slider-length style property
Timm Bäder [Tue, 4 Oct 2016 14:36:27 +0000 (16:36 +0200)]
label: Remove now unneeded deprecation markers
Timm Bäder [Tue, 4 Oct 2016 14:35:53 +0000 (16:35 +0200)]
scrolledwindow: Remove window-placement-set property
Timm Bäder [Tue, 4 Oct 2016 14:35:24 +0000 (16:35 +0200)]
scrolledwindow: Remove scrollbar-spacing and scrollbars-within-bevel
Timm Bäder [Tue, 4 Oct 2016 14:33:05 +0000 (16:33 +0200)]
scrolledwindow: Remove _add_with_viewport
Replaced by a normal gtk_container_add
Timm Bäder [Tue, 4 Oct 2016 13:46:01 +0000 (15:46 +0200)]
Remove GtkHSV
Timm Bäder [Tue, 4 Oct 2016 10:50:56 +0000 (12:50 +0200)]
Remove various deprecated GtkOrientable subclasses
Timm Bäder [Tue, 4 Oct 2016 10:34:10 +0000 (12:34 +0200)]
Remove gtkcolorsel(dialog).{c,h}
Timm Bäder [Tue, 4 Oct 2016 08:41:25 +0000 (10:41 +0200)]
window: Remove _set/_get_opacity
Timm Bäder [Tue, 4 Oct 2016 08:30:57 +0000 (10:30 +0200)]
window: Remove resize grip API
Timm Bäder [Tue, 4 Oct 2016 08:30:07 +0000 (10:30 +0200)]
Remove gtkfontsel.{c,h}
Timm Bäder [Tue, 4 Oct 2016 08:03:52 +0000 (10:03 +0200)]
dialog: Remove alternative button order API
Timm Bäder [Mon, 3 Oct 2016 18:02:21 +0000 (20:02 +0200)]
Remove GtkHandleBox
Timm Bäder [Mon, 3 Oct 2016 16:25:18 +0000 (18:25 +0200)]
Remove GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 16:08:53 +0000 (18:08 +0200)]
reftests: Remove GtkMisc tests
Timm Bäder [Mon, 3 Oct 2016 15:54:51 +0000 (17:54 +0200)]
Fix a few css/a11y test cases
They were broken because of missing -icon-stock properties in GtkEntry
and GtkButton not creating an adjustment child anymore.
Timm Bäder [Mon, 3 Oct 2016 10:34:17 +0000 (12:34 +0200)]
Remove GtkMisc
Timm Bäder [Mon, 3 Oct 2016 10:34:30 +0000 (12:34 +0200)]
testfilechooserbutton: Remove GtkMisc API usage
Timm Bäder [Mon, 3 Oct 2016 10:31:47 +0000 (12:31 +0200)]
reftests: Remove celldenderer-pixbuf-stock
The stock properties tested here don't exist anymore.
Timm Bäder [Mon, 3 Oct 2016 09:03:47 +0000 (11:03 +0200)]
Remove GtkArrow
Timm Bäder [Mon, 3 Oct 2016 08:52:40 +0000 (10:52 +0200)]
shortcutswindow: Stop using GtkArrow
Timm Bäder [Mon, 3 Oct 2016 08:33:17 +0000 (10:33 +0200)]
Remove GtkStock API from GtkImage
Timm Bäder [Mon, 3 Oct 2016 08:20:22 +0000 (10:20 +0200)]
reftests: Remove GtkMisc properties from now non-misc widgets
Timm Bäder [Mon, 3 Oct 2016 07:57:57 +0000 (09:57 +0200)]
recentchoosermenu: Stop using GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 07:46:57 +0000 (09:46 +0200)]
toolbutton: Stop using GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 07:33:32 +0000 (09:33 +0200)]
testgtk: Remove GtkImageMenuItem usage
Timm Bäder [Mon, 3 Oct 2016 07:31:44 +0000 (09:31 +0200)]
testgtk: fix css
Timm Bäder [Sun, 2 Oct 2016 18:10:22 +0000 (20:10 +0200)]
testbuttons: Stop looking at use-stock property
Doesn't exist anymore. Instead, force the image to be visible on one of
the buttons.
Timm Bäder [Sun, 2 Oct 2016 17:54:37 +0000 (19:54 +0200)]
button: Remove _{get,set}_focus_click
Deprecated for the GtkWidget variant. Also remove some unused fields
from the GtkButtonPrivate struct.
Timm Bäder [Sun, 2 Oct 2016 17:47:25 +0000 (19:47 +0200)]
button: Remove deprecated style properties
Timm Bäder [Sun, 2 Oct 2016 17:46:52 +0000 (19:46 +0200)]
button: Remove deprecated signals from public API
Timm Bäder [Sun, 2 Oct 2016 17:03:29 +0000 (19:03 +0200)]
button: Remove GtkStock API
Timm Bäder [Sun, 2 Oct 2016 16:51:09 +0000 (18:51 +0200)]
tests: Remove teststockbuttonmenu
Timm Bäder [Sun, 2 Oct 2016 16:35:36 +0000 (18:35 +0200)]
Button: Remove alignment API
Timm Bäder [Sun, 2 Oct 2016 16:19:59 +0000 (18:19 +0200)]
label,image: Remove GtkMisc usage
Timm Bäder [Sun, 2 Oct 2016 15:37:22 +0000 (17:37 +0200)]
box: Remove 'padding' child property
Timm Bäder [Sun, 2 Oct 2016 07:15:27 +0000 (09:15 +0200)]
inspector: Remove object_title from css editor
It's unused
Timm Bäder [Sun, 2 Oct 2016 06:43:30 +0000 (08:43 +0200)]
Don't use GtkBox's center child in a few places
We can as well use a normal child and let it hexpand.
Benjamin Otte [Thu, 6 Oct 2016 21:55:53 +0000 (23:55 +0200)]
API: Remove gdk_window_set_background()
Backgrounds are always transparent black.
Benjamin Otte [Thu, 6 Oct 2016 21:39:05 +0000 (23:39 +0200)]
tests: Remove testwindows test
It wasn't drawing anything anymore...
Benjamin Otte [Thu, 6 Oct 2016 20:37:42 +0000 (22:37 +0200)]
API: Remove GtkStyle
All the remaining gtkrc.c stuff like GtkRcStyle goes with it.
Benjamin Otte [Thu, 6 Oct 2016 19:46:27 +0000 (21:46 +0200)]
settings: Pull in the RC parsing code
Benjamin Otte [Thu, 6 Oct 2016 17:59:53 +0000 (19:59 +0200)]
immodules: Move path code out of gtkrc
Benjamin Otte [Thu, 6 Oct 2016 14:41:41 +0000 (16:41 +0200)]
cellrendererspinner: Draw our own spinner
This is the GtkStyle code just moved.
Benjamin Otte [Thu, 6 Oct 2016 14:02:39 +0000 (16:02 +0200)]
API: Remove ability to set visuals on windows
And with it, gtk_widget_get_visual() and gtk_widget_set_visual() are
gone.
We now always use the RGBA visual (if available) and otherwise fall back
to the system visual.
Benjamin Otte [Mon, 3 Oct 2016 19:16:40 +0000 (21:16 +0200)]
API: Remove gtk_drag_dest_set_proxy()
Proxies were only used by GtkSocket.
Benjamin Otte [Mon, 3 Oct 2016 16:30:40 +0000 (18:30 +0200)]
API: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget
Benjamin Otte [Sun, 2 Oct 2016 01:02:10 +0000 (03:02 +0200)]
API: Remove gdk_window_set_composited()
And the related call gdk_display_supports_composite().
Benjamin Otte [Fri, 30 Sep 2016 17:27:38 +0000 (19:27 +0200)]
screen: Remove unused vfunc
GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.
Benjamin Otte [Fri, 30 Sep 2016 03:14:53 +0000 (05:14 +0200)]
filechooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 03:11:19 +0000 (05:11 +0200)]
fontchooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 02:58:29 +0000 (04:58 +0200)]
API: screen: Stop storing font options
font options are only ever set by the GtkSettings object and only ever
used inside GTK, so just store them there.
Benjamin Otte [Fri, 30 Sep 2016 00:53:31 +0000 (02:53 +0200)]
API: Remove GDK_WA_CURSOR
The cursor was set using gdk_window_set_cursor() even in
gdk_window_new().
So instead of having yet another flag, just make the users of that flag
call gdk_window_set_cursor() directly after the window was created.
Benjamin Otte [Thu, 29 Sep 2016 20:23:51 +0000 (22:23 +0200)]
API: window: Remove suppport for changing wmclass_name/group
X11 was the only backend to support it and people can just override it
using XSetClassHint() directly.
The docs already advertised the function as "Do not use".
Keep the existing call to XSetClassHint() in place, so that we keep
setting the same values as in GTK3.
Timm Bäder [Tue, 4 Oct 2016 11:05:56 +0000 (13:05 +0200)]
Delete gtkvbox.{c,h}
Timm Bäder [Mon, 3 Oct 2016 17:52:23 +0000 (19:52 +0200)]
Remove GtkHBox
Benjamin Otte [Wed, 28 Sep 2016 15:09:41 +0000 (17:09 +0200)]
API: Remove GtkNumerableIcon
Benjamin Otte [Wed, 28 Sep 2016 14:53:17 +0000 (16:53 +0200)]
API: Remove -gtk_widget_get_root_window()
Benjamin Otte [Wed, 28 Sep 2016 00:52:25 +0000 (02:52 +0200)]
API: screen: Remove gdk_screen_make_display_name()
It's identical to gdk_display_get_name().
Benjamin Otte [Wed, 28 Sep 2016 00:16:53 +0000 (02:16 +0200)]
API: screen: Remove gdk_screen_get_active_window()
... and gdk_screen_get_window_stack().
Those functions were originally added in
5afb4f0f116f0e8a200dd55cc6688a957b4d397c but do not seem to be used as
they are not implemented anywhere but in X.
As GDK is not meant to fulfill window management functionality I'm going
to remove these functions without replacements.
Benjamin Otte [Fri, 9 Sep 2016 14:34:21 +0000 (16:34 +0200)]
API: gdk: Remove gdk_screen_get_number()
It's useless everywhere but in internal X11 code.
Benjamin Otte [Fri, 9 Sep 2016 12:53:18 +0000 (14:53 +0200)]
API: Remove gdk_screen_get_width() and gdk_screen_get_height()
... and gdk_screen_get_width_mm() and gdk_screen_get_height_mm() and
the shortcut counterparts that call these functions on the default
screen.
Modern display servers don't provide an ability to query the size of a
screen or display so we shouldn't allow that either.
Benjamin Otte [Fri, 9 Sep 2016 12:52:06 +0000 (14:52 +0200)]
display: Insist that backends implement the monitor vfuncs
We cannot fallback anymore once we remove the ability to query screen
size, and that's about to happen.
Benjamin Otte [Fri, 9 Sep 2016 12:49:12 +0000 (14:49 +0200)]
gdk: Insist axis.min_value < axis.max_value
Remove fallback code that would substitute screen size otherwise.
Benjamin Otte [Fri, 9 Sep 2016 12:48:33 +0000 (14:48 +0200)]
gdk: Require passing screen size to translate_screen_coord()
Benjamin Otte [Mon, 5 Sep 2016 23:24:13 +0000 (01:24 +0200)]
shooter: Use root window size instead of screen size
Avoids usage deprecated screen size.
Benjamin Otte [Mon, 5 Sep 2016 23:23:41 +0000 (01:23 +0200)]
testgtk: Remove feature unsupported in Wayland
Wayland doesn't allow positioning windows randomly, so don't try.
Benjamin Otte [Mon, 5 Sep 2016 01:09:39 +0000 (03:09 +0200)]
API: window: Remove geometry support
Benjamin Otte [Mon, 5 Sep 2016 01:09:20 +0000 (03:09 +0200)]
API: menu: Remove tearoff support
Benjamin Otte [Sun, 4 Sep 2016 19:53:20 +0000 (21:53 +0200)]
API: gdk: Remove monitor APIs on GdkScreen
Benjamin Otte [Sun, 4 Sep 2016 19:51:09 +0000 (21:51 +0200)]
API: Remove GtkStatusIcon
Benjamin Otte [Wed, 28 Sep 2016 00:51:36 +0000 (02:51 +0200)]
applaunchcontext: Ignore screen name
It's guaranteed to be identical to the display name.
Benjamin Otte [Wed, 28 Sep 2016 00:51:09 +0000 (02:51 +0200)]
inspector: Use display name instead of screen name
This is for future compatibility as they are guaranteed to be identical.
Benjamin Otte [Sun, 4 Sep 2016 19:52:55 +0000 (21:52 +0200)]
wayland: Use GdkMonitor APIs
Benjamin Otte [Sun, 4 Sep 2016 19:52:33 +0000 (21:52 +0200)]
x11: Use GdkMonitor APIs
Benjamin Otte [Sun, 4 Sep 2016 19:52:00 +0000 (21:52 +0200)]
gdk: Use GdkMonitor APIs
... instead of the old ones using GdkScreen
Benjamin Otte [Sun, 4 Sep 2016 19:51:41 +0000 (21:51 +0200)]
inspector: Port to GdkMonitor
Benjamin Otte [Sun, 4 Sep 2016 19:13:41 +0000 (21:13 +0200)]
tests: Port to GdkMonitor
Benjamin Otte [Sat, 3 Sep 2016 16:33:30 +0000 (18:33 +0200)]
display: Don't return NULL in get_primary_monitor()
Nobody ever does a NULL check there so all that causes is crashes. So
we better return a non-primary monitor than NULL.
Fixes gdk-wayland always returning NULL.
Benjamin Otte [Mon, 3 Oct 2016 19:26:20 +0000 (21:26 +0200)]
gdk: Fix docs typo
Benjamin Otte [Sun, 16 Oct 2016 16:07:39 +0000 (18:07 +0200)]
gdk: Get rid of unused variables
Aurimas Černius [Sat, 15 Oct 2016 19:07:36 +0000 (22:07 +0300)]
Updated Lithuanian translation
Matthias Clasen [Fri, 14 Oct 2016 15:15:27 +0000 (11:15 -0400)]
Avoid 0/FALSE confusion
Since this is supposedly exemplary code, lets get it right.
https://bugzilla.gnome.org/show_bug.cgi?id=772683